Toolbar Options


Tooltips
Creates a ToolTip control that an application can use to display descriptive text for the buttons in the toolbar.
Flat
This style is needed to show separators.
List
Omit this style to show the button text under the button icon.
Show Text
Creates a toolbar with button text to the right of the icon. Use in combination with LIST.
Text Only
Creates a toolbar that resembles a menu bar.
Bottom
Causes the control to position itself at the bottom of the parent window's client area.
Vertical
Creates a vertical toolbar.
No Divider
Prevents a two-pixel highlight from being drawn at the top of the control.
Border
Creates a toolbar that has a thin-line border.
Tabstop
Specifies that a control can receive keyboard focus when the user presses the TAB key.
Wrappable (WRAPABLE)
Creates a toolbar that can have multiple lines of buttons. Toolbar buttons can "wrap" to the next line when the toolbar becomes too narrow to include all buttons on the same line.

Toolbar Button Styles


AUTOSIZE
Specifies that the toolbar control should not assign the standard width to the button. Instead, the button's width will be calculated based on the width of the text plus the image of the button.
Stay Pressed (CHECK)
Creates a dual-state push button that toggles between the pressed and non-pressed states each time the user clicks it.
Grouped (CHECKGROUP)
Creates a button that stays pressed until another button in the group is pressed, similar to radio buttons.
Drop-Down (DROPDOWN)
Creates a drop-down style button that can display a list when the button is clicked.
WHOLEDROPDOWN
Specifies that the button will have a drop-down arrow, but not as a separate section.
No Prefix (NOPREFIX)
Specifies that the button text will not have an accelerator prefix associated with it.
Show Text (SHOWTEXT)
Specifies that button text should be displayed. All buttons can have text, but only those buttons with the SHOWTEXT button style will display it. This button style must be used with the LIST style. If you set text for buttons that do not have the SHOWTEXT style, the toolbar control will automatically display it as a ToolTip when the cursor hovers over the button. For this to work you must create the toolbar with TOOLTIPS style. You can create multiline tooltips by using `r in the tooltip caption. Each `r will be replaced with new line.

Toolbar Button States


Start Pressed (CHECKED)
The button has the CHECK style and is being clicked/pressed.
Disabled
The button does not accept user input. The button icon and/or text is grayed out.
Hidden
The button is not visible and cannot receive user input.
Break Row (WRAP)
The button is followed by a line break. The toolbar must not have the WRAPPABLE style.